﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;


namespace App2Wpf
{
    
    public class uProperties
    {
        public string name;

        public string Value;

    }
    public class eventobject : uProperties
    {
        public int Id { get; set; }
        public int X { get; set; }
        public int Y { get; set; }
        public string Button { get; set; }
        public MouseState Type { get; set; }


        public string Keys { get; set; }

    }

    public class PSCustomObject : eventobject
    {
        public uProperties Properties;

        public string Key;

        public string Value;

        public string ScreenName;
        public int ImageCompressionQuality;

        public PacketSize PacketSize;
        public BlockSize BlockSize;

        public bool LogonUI;

    }

    public class Screen
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public int Width { get; set; }

        public int Height { get; set; }

        public int X { get; set; }

        public int Y { get; set; }

        public string Primary { get; set; }

        public string SessionId { get; set; }
    }

        public class ServerInformation
        {
            public string SessionId { get; set; }

            public PSCustomObject PSobject;

            public string Username { get; set; }

            public string Version { get; set; }

            public bool ViewOnly { get; set; }

            public string MachineName { get; set; }

            public string WindowsVersion { get; set; }

            public Screen Screens;

        }

        public class myScreen
        {
            public int Width { get; set; }

            public int Height { get; set; }

            public myScreen()
            {

                this.Width = (int)System.Windows.SystemParameters.WorkArea.Width;

                this.Height = (int)System.Windows.SystemParameters.WorkArea.Height;

            }
        }


    
}
